namespace IQIGame.Onigao.GamePlay
{
    public static class MainCityConst
    {
        /// <summary>
        /// 地区配置id
        /// </summary>
        public const int DefaultRegion = 2;
        /// <summary>
        /// 移动检测的间隔
        /// </summary>
        public const float MoveCheckInterval = 0.1f;
        /// <summary>
        /// 同步移动给服务器的间隔
        /// </summary>
        public const float MoveSyncInterval = 5f;
        /// <summary>
        /// 英雄实体四叉树查询范围(米)
        /// </summary>
        public const float HeroQuadQueryHalfSize = 5;
        /// <summary>
        /// 默认避障Agent最大加速度（米）
        /// </summary>
        public const float AgentMaxAcceleration = 8;
        /// <summary>
        /// 视野半径（米）
        /// </summary>
        public const float DefaultPlayerViewRadius = 30f;
        /// <summary>
        /// 删除范围相对于视野半径的比率
        /// 删除范围需要比视野半径更大，避免玩家反复横跳导致频繁删除和加载
        /// </summary>
        public const float PlayerViewRemoveRadiusRatio = 1.2f;
        /// <summary>
        /// 玩家视野刷新间隔
        /// </summary>
        public const float PlayerViewRefreshInterval = 0.5f;
        /// <summary>
        /// 实体逻辑刷新间隔（无模型时）
        /// </summary>
        public const float EntityUpdateIntervalWithoutModel = 0.5f;
        /// <summary>
        /// 实体逻辑刷新间隔（正常情况）0表示跟随当前帧率
        /// </summary>
        public const float EntityUpdateIntervalNormal = 0;
    }
}
